package com.common;

import java.util.List;

public interface IBaseDAO<T> {
	public boolean insert(T obj);
	public boolean update(T obj);
	public boolean delete(T u);
	public boolean delete(int id);
	public T get(int id);
	public List<T> getAll();
	public List<T> findSql(String sql);
}
